package com.hskn.hss.module.alarmperson.service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hskn.hss.core.domain.BaseEntity;
import com.hskn.hss.core.page.TableDataInfo;
import com.hskn.hss.exception.HssException;
import com.hskn.hss.module.alarmperson.entity.AlarmPerson;
import com.hskn.hss.module.alarmperson.entity.AlarmPersonCharts;
import com.hskn.hss.module.alarmperson.vo.AlarmPersonTableDetailVO;

import java.text.ParseException;
import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author hskn
 * @since 2021-05-21
 */
public interface IAlarmPersonService extends IService<AlarmPerson> {

    void deal(JSONObject params) throws HssException;

    JSONObject mList(BaseEntity entity, JSONObject params) throws HssException;

    JSONObject getAbnormal() throws HssException;

    JSONObject getPersonnelPolice(JSONObject params) throws HssException;

    JSONObject collectList(JSONObject params) throws HssException;

    List<List<Object>> selectAlarmPersonForCharts(AlarmPerson alarmPerson) throws ParseException;

    List<AlarmPersonCharts> selectAlarmPersonForChartsTable(AlarmPerson alarmPerson);

    TableDataInfo selectAlarmPersonForTableDetail(AlarmPerson alarmPerson);

    List<AlarmPersonTableDetailVO> getAlarmPersonTableDetailVOS(AlarmPerson alarmPerson);
}
